﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Class_member
{
    class Bookmark
    {
        public int DId { get; set; }
        public string DName { get; set; }
        public double DPrice { get; set; }
        public void SEeBook(int did,string dname ,double dprice)
        {
            DId = did;
            DName = dname;
            DPrice = dprice;


        }
        public void PrintSg()
        {
            Console.WriteLine("图书编号："+DId );
            Console.WriteLine("图书名称："+DName );
            Console.WriteLine("图书价格："+DPrice );
        }
    }
}
